package com.qianji.petmall.product.feign;

import com.qianji.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author liang zai
 * @date 2022/2/10 10:18
 * @description
 */
@FeignClient("petmall-ware")
public interface WareFeignService {
    @PostMapping("/ware/waresku/skuStock")
    R skuStock(@RequestParam List<Long> skuId);
}
